//
//  Target_Task.m
//  CharonTVProject
//
//  Created by karong on 2023/7/31.
//

#import "Target_Task.h"
#import "WSReceiveSuccessController.h"

@implementation Target_Task

- (id)Action_charonTV_success:(NSDictionary *)params {
    WSReceiveSuccessController * targetVC = (WSReceiveSuccessController *)[self instantiateViewControllerWithName:@"WSReceiveSuccessController"];
    targetVC.task = params[@"task"];
    return targetVC;
}

- (UIViewController *)instantiateViewControllerWithName:(NSString *)name {
   return [self instantiateViewControllerWithStoryboardNam:name identifier:name];
}

- (UIViewController *)instantiateViewControllerWithStoryboardNam:(NSString *)storyboard identifier:(NSString *)identifier{
   return [[UIStoryboard storyboardWithName:storyboard bundle:nil] instantiateViewControllerWithIdentifier:identifier];
}

@end
